package com.wlyuan.open.scanner.feign.exception;

import com.wlyuan.utils.ResultError;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

/**
 * @author lijing
 */
@RequiredArgsConstructor
@Getter
public class ErrorCode implements ResultError {
    private static final long serialVersionUID = 5672160727206504499L;
    private final int code;
    private final String message;

    public static final ErrorCode OPEN_PLATFORM_ORDER_ERROR = new ErrorCode(40001, "参数异常");
}